#!/bin/sh
# $Id: unload,v 0.1 2011/08/01 06:19:49 saeedM Exp 
#	krawsk : kernel raw socket example Module Loader script	
#
#	Author: SaeedM <saeed.tx@gmail.com> , Aug-2011
#
# 
# 	This program is free software; you can redistribute it and/or
#       modify it under the terms of the GNU General Public License
#       as published by the Free Software Foundation; either version
#       2 of the License, or (at your option) any later version
#

module="krawsk"
device="krawsk"

# invoke rmmod with all arguments we got
/sbin/rmmod $module $* || exit 1

# Remove stale nodes

rm -f /dev/${device} 





